package deyi.nbtype;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.*;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@RequiredArgsConstructor
public class DeviceMetaData implements Serializable {
    @NonNull private String deviceSn;
    @JSONField(serialize = false)
    @NonNull private byte[] deviceData;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @NonNull private Date deviceReportTime;
    @JSONField(name = "deviceData")
    private String base64Data;
    private String hexData;
}
